package com.feizi.entity;

public class Product {
	private int id;
	private int f_ptId; //分类id
	private String name; //产品名称
	private String img;//产品主图
	private String imgfu;//产品副图
	private String mainImgUrl;//产品主图地址
	private String futuImgUrl;//产品副图地址
	private String size;//产品尺码
	private String colour;//颜色
	private double price;//价格
	private double promotionprice;//促销价
	private int recommend;//是否推荐（0不推荐，1推荐）
	private int putaway;//是否上架（0不上架，1上架）
	private String describe;//产品描述
	private  String plate;//品牌
	private String factory;//factory
	private int  weight;//权重
	private int isDel;//是否允许删除（0不允许，1允许，默认值是1，只要下过订单就改成0）
	private int repertory;
	private String ptname;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getF_ptId() {
		return f_ptId;
	}
	public void setF_ptId(int f_ptId) {
		this.f_ptId = f_ptId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getMainImgUrl() {
		return mainImgUrl;
	}
	public void setMainImgUrl(String mainImgUrl) {
		this.mainImgUrl = mainImgUrl;
	}
	public String getFutuImgUrl() {
		return futuImgUrl;
	}
	public void setFutuImgUrl(String futuImgUrl) {
		this.futuImgUrl = futuImgUrl;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public String getColour() {
		return colour;
	}
	public void setColour(String colour) {
		this.colour = colour;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getPromotionprice() {
		return promotionprice;
	}
	public void setPromotionprice(double promotionprice) {
		this.promotionprice = promotionprice;
	}
	public int getRecommend() {
		return recommend;
	}
	public void setRecommend(int recommend) {
		this.recommend = recommend;
	}
	public int getPutaway() {
		return putaway;
	}
	public void setPutaway(int putaway) {
		this.putaway = putaway;
	}
	public String getDescribe() {
		return describe;
	}
	public void setDescribe(String describe) {
		this.describe = describe;
	}
	public String getPlate() {
		return plate;
	}
	public void setPlate(String plate) {
		this.plate = plate;
	}
	public String getFactory() {
		return factory;
	}
	public void setFactory(String factory) {
		this.factory = factory;
	}
	public int getWeight() {
		return weight;
	}
	public void setWeight(int weight) {
		this.weight = weight;
	}
	public int getIsDel() {
		return isDel;
	}
	public void setIsDel(int isDel) {
		this.isDel = isDel;
	}
	public int getRepertory() {
		return repertory;
	}
	public void setRepertory(int repertory) {
		this.repertory = repertory;
	}
	public String getImgfu() {
		return imgfu;
	}
	public void setImgfu(String imgfu) {
		this.imgfu = imgfu;
	}
	public String getPtname() {
		return ptname;
	}
	public void setPtname(String ptname) {
		this.ptname = ptname;
	}
	@Override
	public String toString() {
		return "Product [id=" + id + ", f_ptId=" + f_ptId + ", name=" + name + ", img=" + img + ", imgfu=" + imgfu
				+ ", mainImgUrl=" + mainImgUrl + ", futuImgUrl=" + futuImgUrl + ", size=" + size + ", colour=" + colour
				+ ", price=" + price + ", promotionprice=" + promotionprice + ", recommend=" + recommend + ", putaway="
				+ putaway + ", describe=" + describe + ", plate=" + plate + ", factory=" + factory + ", weight="
				+ weight + ", isDel=" + isDel + ", repertory=" + repertory + "]";
	}
	public Product(int id, int f_ptId, String name, String img, String imgfu, String mainImgUrl, String futuImgUrl,
			String size, String colour, double price, double promotionprice, int recommend, int putaway,
			String describe, String plate, String factory, int weight, int isDel, int repertory, String ptname) {
		super();
		this.id = id;
		this.f_ptId = f_ptId;
		this.name = name;
		this.img = img;
		this.imgfu = imgfu;
		this.mainImgUrl = mainImgUrl;
		this.futuImgUrl = futuImgUrl;
		this.size = size;
		this.colour = colour;
		this.price = price;
		this.promotionprice = promotionprice;
		this.recommend = recommend;
		this.putaway = putaway;
		this.describe = describe;
		this.plate = plate;
		this.factory = factory;
		this.weight = weight;
		this.isDel = isDel;
		this.repertory = repertory;
		this.ptname = ptname;
	}
	public Product(int id, int f_ptId, String name, String img, String imgfu, String mainImgUrl, String futuImgUrl,
			String size, String colour, double price, double promotionprice, int recommend, int putaway,
			String describe, String plate, String factory, int weight, int isDel, int repertory) {
		super();
		this.id = id;
		this.f_ptId = f_ptId;
		this.name = name;
		this.img = img;
		this.imgfu = imgfu;
		this.mainImgUrl = mainImgUrl;
		this.futuImgUrl = futuImgUrl;
		this.size = size;
		this.colour = colour;
		this.price = price;
		this.promotionprice = promotionprice;
		this.recommend = recommend;
		this.putaway = putaway;
		this.describe = describe;
		this.plate = plate;
		this.factory = factory;
		this.weight = weight;
		this.isDel = isDel;
		this.repertory = repertory;
	}
	public Product() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
}